package com.joeyzh.odata;

/**
 * Created by Joey on 2018/12/18.
 *
 * @author by Joey
 *         odata 语法描述
 */

public enum ODataType {

    SELECT("$select"),
    /**
     *
     */
    FILTER("$filter"),
    /**
     *
     */
    ORDER_BY("$orderby"),
    /**
     *
     */
    EXPAND("$expand"),
    /**
     *
     */
    COUNT("$count"),
    /**
     *
     */
    METADATA("$metadata"),
    /**
     *
     */
    FORMAT("$format"),
    /**
     *
     */
    TOP("$top"),
    /**
     *
     */
    SKIP("$skip"),
    /**
     *
     */
    INLINE_COUNT("$inlinecount"),


    FUNCTION("@x");

    private ODataType(String odataType) {
        type = odataType;
    }

    public final String type;

    @Override
    public String toString() {
        return type;
    }
}
